#ifndef __MY_TYPES_H
#define __MY_TYPES_H


typedef struct lcdInfo
{
	int fd ;
	int * map ;
	int lcdSize ;
}lcdInfo;


typedef struct tagBITMAPFILEHEADER {
    short bfType;
    int bfSize;
    short bfReserved1;
    short bfReserved2;
    int bfOffBits;
}__attribute__((packed)) BITMAPFILEHEADER;


typedef struct tagBITMAPINFOHEADER {
	int biSize;
	int biWidth;
	int biHeight;
	short biPlanes;
	short biBitCount;
	int biCompression;
	int biSizeImage;
	int biXPelsPerMeter;
	int biYPelsPerMeter;
	int biClrUsed;
	int biClrImportant;
} __attribute__((packed)) BITMAPINFOHEADER;


lcdInfo *  InitLCD( void );
int ShowBmp( lcdInfo * lcd , const char * FilePath , int x , int y );


#endif